<!DOCTYPE HTML>
<html lang="en">
 <head>
   <!--声明当前页面编码：charset=gbk,gb2312(中文编码),utf-8国际编码-->
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>  
  <!--当前页面三要素-->
  <meta name="Author" content="">
  <meta name="Keywords" content="关键字">
  <meta name="Description" content="描述">  
  <!--link href="*.css" rel="stylesheet" type="text/css" /-->
  <!--base target="_blank" /-->
  <title>Document</title>
  <style>
	*{margin:0;padding:0;}
  </style>
 </head>
 <body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->

  <script type="text/javascript">
	var str="Give 100% support 0.1 or .2percent!";
	var patt1=/(?:\d*\.)?\d+/g;
	document.write(str.match(patt1));	//100,0.1,.2
  </script>
 </body>
</html>

